#include <stdio.h>
int main(){
    int a,b,c;
    scanf("%d%d%d",&a,&b,&c);
    int maxn=0;//最大值
    int minn=1000000;// 最小值
    if(a>maxn) maxn=a;
    if(b>maxn) maxn=b;
    if(c>maxn) maxn=c;
    if(a<minn) minn=a;
    if(b<minn) minn=b;
    if(c<minn) minn=c;
    printf("The maximum number is : %d\n",maxn);
    printf("The minimum number is : %d",minn);
    return 0;
}
